package com.sgb.kjwl.model.entity;

import android.text.TextUtils;

import com.sgb.kjwl.view.widget.OppositePersonPopWindow;

public class ChoiceOppositePersonEntity implements OppositePersonPopWindow.ChoiceModel {
    private String name;
    private String userNo;
    private boolean ischoicedata = false;

    public ChoiceOppositePersonEntity(String name){
        this.name = name;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    @Override
    public String getname() {
        return !TextUtils.isEmpty(name)?name:"/";
    }

    @Override
    public boolean isChoice() {
        return ischoicedata;
    }

    @Override
    public void setChoice(boolean choice) {
        this.ischoicedata = choice;
    }
}
